Package com.cisco.pt.ipc.sim.pdu.impl
Class CellularHeaderImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
com.cisco.pt.ipc.sim.pdu.impl.CellularHeaderImpl
- All Implemented Interfaces:
IPCData,CellularHeader,Header,Pdu,Signal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MACAddressprotected MACAddressprotected MACAddressprotected MACAddressprotected Stringprotected intprotected Stringprotected Shortprotected Shortprotected Shortprotected ShortFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
payloadFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) intgetCrc()getFieldType(String fieldName) getId()voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetAddress1(MACAddress address1) voidsetAddress2(MACAddress address2) voidsetAddress3(MACAddress address3) voidsetAddress4(MACAddress address4) voidsetCellDeviceName(String cellDeviceName) voidsetCrc(int crc) voidsetDeviceName(String deviceName) voidsetDuration(Short duration) voidsetFrameControl(Short frameControl) voidvoidsetSequenceControl(Short sequenceControl) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
getPayload, setPayloadMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Header
getPayload, setPayloadMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
frameControl
-
duration
-
id
-
deviceName
-
cellDeviceName
-
address1
-
address2
-
address3
-
sequenceControl
-
address4
-
crc
protected int crc
-
-
Constructor Details
-
CellularHeaderImpl
public CellularHeaderImpl()
-
-
Method Details
-
getFrameControl
- Specified by:
getFrameControlin interfaceCellularHeader- Returns:
- Short Returns a Short
-
setFrameControl
- Specified by:
setFrameControlin interfaceCellularHeader- Parameters:
frameControl- Takes in a parameter of frameControl
-
getDuration
- Specified by:
getDurationin interfaceCellularHeader- Returns:
- Short Returns a Short
-
setDuration
- Specified by:
setDurationin interfaceCellularHeader- Parameters:
duration- Takes in a parameter of duration
-
getId
- Specified by:
getIdin interfaceCellularHeader- Returns:
- Short Returns a Short
-
setId
- Specified by:
setIdin interfaceCellularHeader- Parameters:
id- Takes in a parameter of id
-
getDeviceName
- Specified by:
getDeviceNamein interfaceCellularHeader- Returns:
- String Returns a String
-
setDeviceName
- Specified by:
setDeviceNamein interfaceCellularHeader- Parameters:
deviceName- Takes in a parameter of deviceName
-
getCellDeviceName
- Specified by:
getCellDeviceNamein interfaceCellularHeader- Returns:
- String Returns a String
-
setCellDeviceName
- Specified by:
setCellDeviceNamein interfaceCellularHeader- Parameters:
cellDeviceName- Takes in a parameter of cellDeviceName
-
getAddress1
- Specified by:
getAddress1in interfaceCellularHeader- Returns:
- MACAddress Returns a MACAddress
-
setAddress1
- Specified by:
setAddress1in interfaceCellularHeader- Parameters:
address1- Takes in a parameter of address1
-
getAddress2
- Specified by:
getAddress2in interfaceCellularHeader- Returns:
- MACAddress Returns a MACAddress
-
setAddress2
- Specified by:
setAddress2in interfaceCellularHeader- Parameters:
address2- Takes in a parameter of address2
-
getAddress3
- Specified by:
getAddress3in interfaceCellularHeader- Returns:
- MACAddress Returns a MACAddress
-
setAddress3
- Specified by:
setAddress3in interfaceCellularHeader- Parameters:
address3- Takes in a parameter of address3
-
getSequenceControl
- Specified by:
getSequenceControlin interfaceCellularHeader- Returns:
- Short Returns a Short
-
setSequenceControl
- Specified by:
setSequenceControlin interfaceCellularHeader- Parameters:
sequenceControl- Takes in a parameter of sequenceControl
-
getAddress4
- Specified by:
getAddress4in interfaceCellularHeader- Returns:
- MACAddress Returns a MACAddress
-
setAddress4
- Specified by:
setAddress4in interfaceCellularHeader- Parameters:
address4- Takes in a parameter of address4
-
getCrc
public int getCrc()- Specified by:
getCrcin interfaceCellularHeader- Returns:
- int Returns a int
-
setCrc
public void setCrc(int crc) - Specified by:
setCrcin interfaceCellularHeader- Parameters:
crc- Takes in a parameter of crc
-
getFieldType
- Overrides:
getFieldTypein classHeaderImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classHeaderImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classHeaderImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classHeaderImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classHeaderImpl
-